Motion.GetAxisVelocity 方法
从轴取得目前速度,此速度可为设定速度或实际速度。
命名空间:IntervalZero.KINGSTAR.Local.Api
组合: IntervalZero.KINGSTAR.Local.Api (于 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0
语法
public KsReturn<double> GetAxisVelocity(
int Index,
McSource Source
)
Public Function GetAxisVelocity(
Index As Integer,
Source As McSource
) As KsReturn(Of Double)
参数
Index
型别:int
轴索引。索引以 0 为起始;别名将影响此参数。
Source
型别:McSource
选择欲读取的速度值。
回传值
回传一个 KsError 代码及一个 double 值。
范例
N/A
参见